package com.shopcart.domain;
import javax.persistence.Entity;


import javax.persistence.Id;

import javax.persistence.Table;

import javax.persistence.Column;

import java.math.BigDecimal;
import java.util.Date;


@Entity
@Table(name="s_pay_log")
public class PayLog {

	@Id
	private String id;
	@Column(name="order_id")
	private String orderId;
	@Column(name="money")
	private BigDecimal money;
	@Column(name="real_pay")
	private BigDecimal realPay;
	@Column(name="buyer")
	private String buyer;
	@Column(name="seller")
	private String seller;
	@Column(name="trade_no")
	private String tradeNo;
	@Column(name="state")
	private Integer state;
	@Column(name="platform")
	private Integer platform;
	@Column(name="modify_time")
	private Date modifyTime;
	@Column(name="create_time")
	private Date createTime;
	@Column(name="cash_id")
	private String cashId;
	@Column(name="user_money")
	private BigDecimal userMoney;


	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getOrderId(){
		return orderId;
	}
	public void setOrderId(String orderId){
		this.orderId = orderId;
	}
	public BigDecimal getMoney(){
		return money;
	}
	public void setMoney(BigDecimal money){
		this.money = money;
	}
	public BigDecimal getRealPay(){
		return realPay;
	}
	public void setRealPay(BigDecimal realPay){
		this.realPay = realPay;
	}
	public String getBuyer(){
		return buyer;
	}
	public void setBuyer(String buyer){
		this.buyer = buyer;
	}
	public String getSeller(){
		return seller;
	}
	public void setSeller(String seller){
		this.seller = seller;
	}
	public String getTradeNo(){
		return tradeNo;
	}
	public void setTradeNo(String tradeNo){
		this.tradeNo = tradeNo;
	}
	public Integer getState(){
		return state;
	}
	public void setState(Integer state){
		this.state = state;
	}
	public Integer getPlatform(){
		return platform;
	}
	public void setPlatform(Integer platform){
		this.platform = platform;
	}
	public Date getModifyTime(){
		return modifyTime;
	}
	public void setModifyTime(Date modifyTime){
		this.modifyTime = modifyTime;
	}
	public Date getCreateTime(){
		return createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}
	public String getCashId(){
		return cashId;
	}
	public void setCashId(String cashId){
		this.cashId = cashId;
	}
	public BigDecimal getUserMoney(){
		return userMoney;
	}
	public void setUserMoney(BigDecimal userMoney){
		this.userMoney = userMoney;
	}

	
}
